package com.dmsdbj.itoo.exception;


import com.dmsdbj.itoo.enums.OnlineExamResultEnum;

/**
 * 自定义异常处理
 */
public class OnlineExamException extends ItooException{

    public OnlineExamException(Integer code, String message) {
        super(code, message);
    }

    //个人扩展枚举
    public OnlineExamException(OnlineExamResultEnum onlineExamResultEnum) {

        super(onlineExamResultEnum.getCode(),onlineExamResultEnum.getMessage());
    }

}
